﻿@mixin float($height, $width, $margin-top: 0, $margin-left: 0, $isMinHeight: false, $isMaxHeight: false) {
  float: left;
  margin-top: $margin-top;

  @if $isMinHeight == true {
    min-height: $height;
  }
  @else if $isMaxHeight == true {
    max-height: $height;
  }
  @else {
    height: $height;
  }

  margin-left: $margin-left;
  width: $width;
}

@mixin background_image($url, $height, $width) {
  background: url($url) no-repeat center;
  background-size: $width $height;
}

@mixin buttonOK() {
  font-family: 'Segoe UI';
  background: forestgreen;
  color: white;
}

@mixin buttonCancel() {
  font-family: 'Segoe UI';
  background: darken(red, 10%);
  color: white;
}
